package data.dataservice;

import data.Model;
import data.SubModel;
import data.TeachingFramework;
import enum_pck.ResultMessage;

public interface Framework_dataService {
	public Model findModel(String model);
	public SubModel findSubmodel(String modelID,String submodelID);
	public ResultMessage insertModel(Model m);
	public ResultMessage insertSubModel(String ModelID,SubModel m);
	public ResultMessage delete(String modelname);
	public ResultMessage delete(String modelname, String submodelID);
	public ResultMessage update(String modelname,Model m);
	public void init();
	public void finish();
	public TeachingFramework getFramework();
	
}
